//当前视口宽度
let nowClientWidth = document.documentElement.clientWidth;
function nowSize(val, initWidth = 1920) {
  return val * (nowClientWidth / initWidth);
}

export default nowSize;
